summarizing dataframe using group by

welcome to shbcf.ru